package com.yanfan.energy.service;

import com.yanfan.common.core.domain.AjaxResult;
import com.yanfan.energy.domain.Consumables;
import com.yanfan.energy.domain.vo.ConsumablesVo;
import com.yanfan.energy.domain.vo.EnergyFlowVo;

import java.util.List;

public interface ConsumablesService {

    int addConfiguration(Consumables consumables);

    List<Consumables> selectConfiguration(Consumables consumables);

    int updateConfiguration(Consumables consumables);

    int deleteConfiguration(Long configurationId);

    //获取省钱
    AjaxResult getConsumableShenQian(Consumables consumables);

    //排名
    List<ConsumablesVo> getConsumablePangMing(Consumables consumables);

    //数据趋势
    AjaxResult getConsumableShuJuQuShi(Consumables consumables);

    //数据占比
    AjaxResult getConsumableShuJuZhanBi(Consumables consumables);
    List<EnergyFlowVo> energyFlowsList(Consumables consumables);
}
